<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenMesh: QGLViewerWidget Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="logo_align.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="rwth_vci_rgb.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OpenMesh
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('a01929.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="a01926.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QGLViewerWidget Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for QGLViewerWidget:</div>
<div class="dyncontent">
<div class="center"><img src="a01928.png" border="0" usemap="#QGLViewerWidget_inherit__map" alt="Inheritance graph"/></div>
<map name="QGLViewerWidget_inherit__map" id="QGLViewerWidget_inherit__map">
<area shape="rect" id="node3" href="a01925.html" title="MeshViewerWidgetT\&lt; M \&gt;" alt="" coords="323,78,501,105"/>
<area shape="rect" id="node6" href="a01925.html" title="MeshViewerWidgetT\&lt;\l Mesh \&gt;" alt="" coords="337,129,487,171"/>
<area shape="rect" id="node8" href="a01925.html" title="MeshViewerWidgetT\&lt;\l MyMesh \&gt;" alt="" coords="337,195,487,236"/>
<area shape="rect" id="node4" href="a01897.html" title="DecimaterViewerWidget\l\&lt; mesh_t \&gt;" alt="" coords="569,5,731,47"/>
<area shape="rect" id="node5" href="a01965.html" title="OpenMesh::VDPMSynthesizer\lViewerWidget\&lt; VDPMMesh \&gt;" alt="" coords="549,71,751,112"/>
<area shape="rect" id="node7" href="a01937.html" title="MeshViewerWidgetSubdivider" alt="" coords="552,137,748,163"/>
<area shape="rect" id="node9" href="a01921.html" title="MeshViewerWidget" alt="" coords="583,194,717,221"/>
<area shape="rect" id="node10" href="a01909.html" title="ProgViewerWidget" alt="" coords="585,245,715,271"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for QGLViewerWidget:</div>
<div class="dyncontent">
<div class="center"><img src="a01927.png" border="0" usemap="#QGLViewerWidget_coll__map" alt="Collaboration graph"/></div>
<map name="QGLViewerWidget_coll__map" id="QGLViewerWidget_coll__map">
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a2ed47f0efbf3500fd7572ca26b45d543"><td class="memItemLeft" align="right" valign="top"><a id="a2ed47f0efbf3500fd7572ca26b45d543"></a>
typedef QGLWidget&#160;</td><td class="memItemRight" valign="bottom"><b>Super</b></td></tr>
<tr class="separator:a2ed47f0efbf3500fd7572ca26b45d543"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9be8cce657698d9ee6942449a8a0f1e7"><td class="memItemLeft" align="right" valign="top"><a id="a9be8cce657698d9ee6942449a8a0f1e7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>QGLViewerWidget</b> (QWidget *_parent=0)</td></tr>
<tr class="separator:a9be8cce657698d9ee6942449a8a0f1e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2941fb9fd61cdbb5c54a0596f66a052"><td class="memItemLeft" align="right" valign="top"><a id="ac2941fb9fd61cdbb5c54a0596f66a052"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>QGLViewerWidget</b> (QGLFormat &amp;_fmt, QWidget *_parent=0)</td></tr>
<tr class="separator:ac2941fb9fd61cdbb5c54a0596f66a052"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad984e8acf6e5ae854bc7979addaedbb6"><td class="memItemLeft" align="right" valign="top"><a id="ad984e8acf6e5ae854bc7979addaedbb6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_scene_pos</b> (const <a class="el" href="a01233.html#aeb4e43a28974a16e6131fd93eef1ebfe">OpenMesh::Vec3f</a> &amp;_center, float _radius)</td></tr>
<tr class="separator:ad984e8acf6e5ae854bc7979addaedbb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a075b0234c3913bc2dde523574eade815"><td class="memItemLeft" align="right" valign="top"><a id="a075b0234c3913bc2dde523574eade815"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>view_all</b> ()</td></tr>
<tr class="separator:a075b0234c3913bc2dde523574eade815"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4390e61661e3a4cc536caee00a7d4096"><td class="memItemLeft" align="right" valign="top"><a id="a4390e61661e3a4cc536caee00a7d4096"></a>
QAction *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01929.html#a4390e61661e3a4cc536caee00a7d4096">add_draw_mode</a> (const std::string &amp;_s)</td></tr>
<tr class="memdesc:a4390e61661e3a4cc536caee00a7d4096"><td class="mdescLeft">&#160;</td><td class="mdescRight">add draw mode to popup menu, and return the QAction created <br /></td></tr>
<tr class="separator:a4390e61661e3a4cc536caee00a7d4096"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9797e53a762fa1dde7247c8f978f6400"><td class="memItemLeft" align="right" valign="top"><a id="a9797e53a762fa1dde7247c8f978f6400"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01929.html#a9797e53a762fa1dde7247c8f978f6400">del_draw_mode</a> (const std::string &amp;_s)</td></tr>
<tr class="memdesc:a9797e53a762fa1dde7247c8f978f6400"><td class="mdescLeft">&#160;</td><td class="mdescRight">delete draw mode from popup menu <br /></td></tr>
<tr class="separator:a9797e53a762fa1dde7247c8f978f6400"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19075ca9de1ec3c00e08a09c9640ead7"><td class="memItemLeft" align="right" valign="top"><a id="a19075ca9de1ec3c00e08a09c9640ead7"></a>
const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>current_draw_mode</b> () const</td></tr>
<tr class="separator:a19075ca9de1ec3c00e08a09c9640ead7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a577a74d2df0b89bf24835e83b08571b4"><td class="memItemLeft" align="right" valign="top"><a id="a577a74d2df0b89bf24835e83b08571b4"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>radius</b> () const</td></tr>
<tr class="separator:a577a74d2df0b89bf24835e83b08571b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56120f1e3b1cb66d491a8cec07e56df9"><td class="memItemLeft" align="right" valign="top"><a id="a56120f1e3b1cb66d491a8cec07e56df9"></a>
const <a class="el" href="a01233.html#aeb4e43a28974a16e6131fd93eef1ebfe">OpenMesh::Vec3f</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>center</b> () const</td></tr>
<tr class="separator:a56120f1e3b1cb66d491a8cec07e56df9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0954f2ebb58327fb5978c44a31ad1d9f"><td class="memItemLeft" align="right" valign="top"><a id="a0954f2ebb58327fb5978c44a31ad1d9f"></a>
const GLdouble *&#160;</td><td class="memItemRight" valign="bottom"><b>modelview_matrix</b> () const</td></tr>
<tr class="separator:a0954f2ebb58327fb5978c44a31ad1d9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5cbfaf2f6d371d0c005111674cf0784"><td class="memItemLeft" align="right" valign="top"><a id="ae5cbfaf2f6d371d0c005111674cf0784"></a>
const GLdouble *&#160;</td><td class="memItemRight" valign="bottom"><b>projection_matrix</b> () const</td></tr>
<tr class="separator:ae5cbfaf2f6d371d0c005111674cf0784"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75b5605c8b1804503b3021f542dfe912"><td class="memItemLeft" align="right" valign="top"><a id="a75b5605c8b1804503b3021f542dfe912"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>fovy</b> () const</td></tr>
<tr class="separator:a75b5605c8b1804503b3021f542dfe912"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd40db26fa2e182f8e4db1e9f5aab015"><td class="memItemLeft" align="right" valign="top"><a id="afd40db26fa2e182f8e4db1e9f5aab015"></a>
QAction *&#160;</td><td class="memItemRight" valign="bottom"><b>findAction</b> (const char *name)</td></tr>
<tr class="separator:afd40db26fa2e182f8e4db1e9f5aab015"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcfe93a34ad4cec6e1f8d1a20ee09bfd"><td class="memItemLeft" align="right" valign="top"><a id="adcfe93a34ad4cec6e1f8d1a20ee09bfd"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addAction</b> (QAction *action, const char *name)</td></tr>
<tr class="separator:adcfe93a34ad4cec6e1f8d1a20ee09bfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ec4b503a36b200ab37e8d601ed4d086"><td class="memItemLeft" align="right" valign="top"><a id="a2ec4b503a36b200ab37e8d601ed4d086"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>removeAction</b> (const char *name)</td></tr>
<tr class="separator:a2ec4b503a36b200ab37e8d601ed4d086"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87e6b97acbb3e27438a809744fb92ae7"><td class="memItemLeft" align="right" valign="top"><a id="a87e6b97acbb3e27438a809744fb92ae7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>removeAction</b> (QAction *action)</td></tr>
<tr class="separator:a87e6b97acbb3e27438a809744fb92ae7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a3d017ab603b0041bd38a443f97f22850"><td class="memItemLeft" align="right" valign="top"><a id="a3d017ab603b0041bd38a443f97f22850"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>draw_scene</b> (const std::string &amp;_draw_mode)</td></tr>
<tr class="separator:a3d017ab603b0041bd38a443f97f22850"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab781ab82fcb594b93751ca9856f0fa37"><td class="memItemLeft" align="right" valign="top"><a id="ab781ab82fcb594b93751ca9856f0fa37"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>performance</b> (void)</td></tr>
<tr class="separator:ab781ab82fcb594b93751ca9856f0fa37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4770ba98078664905cd5eafb66199f17"><td class="memItemLeft" align="right" valign="top"><a id="a4770ba98078664905cd5eafb66199f17"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setDefaultMaterial</b> (void)</td></tr>
<tr class="separator:a4770ba98078664905cd5eafb66199f17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03a5bc1ad668ce560283e2ae2d262e6a"><td class="memItemLeft" align="right" valign="top"><a id="a03a5bc1ad668ce560283e2ae2d262e6a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setDefaultLight</b> (void)</td></tr>
<tr class="separator:a03a5bc1ad668ce560283e2ae2d262e6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf04d695f759dd03a2ed57a81939bb64"><td class="memItemLeft" align="right" valign="top"><a id="adf04d695f759dd03a2ed57a81939bb64"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>mousePressEvent</b> (QMouseEvent *)</td></tr>
<tr class="separator:adf04d695f759dd03a2ed57a81939bb64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a8abb12f8af9dfaf6e00b92c923c25a"><td class="memItemLeft" align="right" valign="top"><a id="a5a8abb12f8af9dfaf6e00b92c923c25a"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>mouseReleaseEvent</b> (QMouseEvent *)</td></tr>
<tr class="separator:a5a8abb12f8af9dfaf6e00b92c923c25a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad02ffec4c06845cda9c53cacca257a77"><td class="memItemLeft" align="right" valign="top"><a id="ad02ffec4c06845cda9c53cacca257a77"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>mouseMoveEvent</b> (QMouseEvent *)</td></tr>
<tr class="separator:ad02ffec4c06845cda9c53cacca257a77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3cc9ff7617dfaa2f91ecd2a34e558ea"><td class="memItemLeft" align="right" valign="top"><a id="ac3cc9ff7617dfaa2f91ecd2a34e558ea"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>wheelEvent</b> (QWheelEvent *)</td></tr>
<tr class="separator:ac3cc9ff7617dfaa2f91ecd2a34e558ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aade5199ddf427fe2aba992c4a3943623"><td class="memItemLeft" align="right" valign="top"><a id="aade5199ddf427fe2aba992c4a3943623"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>keyPressEvent</b> (QKeyEvent *)</td></tr>
<tr class="separator:aade5199ddf427fe2aba992c4a3943623"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>OpenMesh/Apps/QtViewer/<a class="el" href="a00050_source.html">QGLViewerWidget.hh</a></li>
<li>OpenMesh/Apps/QtViewer/QGLViewerWidget.cc</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<hr>
<address>
<small>
<a href="http://www.rwth-graphics.de" style="text-decoration:none;">
</a>
Project <b>OpenMesh</b>, 
&copy;&nbsp; Computer Graphics Group, RWTH Aachen.
Documentation generated using 
<a class="el" href="http://www.doxygen.org/index.html">
<b>doxygen</b>
</a>.
</small>
</address>
</body>
</html>
